home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 34 / Amiga Format CD34 (1998-11-20)(Future Publishing)(GB)[!][Christmas issue].iso / -seriously_amiga- / programming / c / mesa-2.6 / include / fd / glut.fd < prev    next >
Text File  |  1998-10-01  |  2KB  |  65 lines

  1. * "glut.library"
  2. ##base _glutBase
  3. ##bias 30
  4. ##public
  5. glutInit(argcp,argv)(a0/a1)
  6. glutInitDisplayMode(mode)(d0)
  7. glutInitWindowPosition(x,y)(d0/d1)
  8. glutInitWindowSize(width,height)(d0/d1)
  9. glutMainLoop()()
  10. glutCreateWindow(title)(a0)
  11. glutDestroyWindow(win)(d0)
  12. glutPostRedisplay()()
  13. glutSwapBuffers()()
  14. glutGetWindow()()
  15. glutSetWindow(win)(d0)
  16. glutSetWindowTitle(title)(a0)
  17. glutPositionWindow(x,y)(d0/d1)
  18. glutReshapeWindow(width,height)(d0/d1)
  19. glutCreateMenu()(int))(a0)
  20. glutDestroyMenu(menu)(d0)
  21. glutGetMenu()()
  22. glutSetMenu(menu)(d0)
  23. glutAddMenuEntry(label,value)(a0/d0)
  24. glutAddSubMenu(label,submenu)(a0/d0)
  25. glutChangeToMenuEntry(item,label,value)(d0/a0/d1)
  26. glutChangeToSubMenu(item,label,submenu)(d0/a0/d1)
  27. glutRemoveMenuItem(item)(d0)
  28. glutAttachMenu(button)(d0)
  29. glutDetachMenu(button)(d0)
  30. glutDisplayFunc()())(a0)
  31. glutReshapeFunc(height))(a0)
  32. glutKeyboardFunc(y))(a0)
  33. glutMouseFunc(y))(a0)
  34. glutMotionFunc(y))(a0)
  35. glutPassiveMotionFunc(y))(a0)
  36. glutVisibilityFunc(state))(a0)
  37. glutIdleFunc()())(a0)
  38. glutSpecialFunc(y))(a0)
  39. glutMenuStatusFunc(y))(a0)
  40. glutSetColor(int,red,green,blue)(d0/fp0/fp1/fp2)
  41. glutGetColor(ndx,component)(d0/d1)
  42. glutGet(type)(d0)
  43. glutExtensionSupported(name)(a0)
  44. glutGetModifiers()()
  45. glutWireSphere(radius,slices,stacks)(fp0/d0/d1)
  46. glutSolidSphere(radius,slices,stacks)(fp0/d0/d1)
  47. glutWireCone(base,height,slices,stacks)(fp0/fp1/d0/d1)
  48. glutSolidCone(base,height,slices,stacks)(fp0/fp1/d0/d1)
  49. glutWireCube(size)(fp0)
  50. glutSolidCube(size)(fp0)
  51. glutWireTorus(innerRadius,outerRadius,sides,rings)(fp0/fp1/d0/d1)
  52. glutSolidTorus(innerRadius,outerRadius,sides,rings)(fp0/fp1/d0/d1)
  53. glutWireDodecahedron()()
  54. glutSolidDodecahedron()()
  55. glutWireTeapot(size)(fp0)
  56. glutSolidTeapot(size)(fp0)
  57. glutWireOctahedron()()
  58. glutSolidOctahedron()()
  59. glutWireTetrahedron()()
  60. glutSolidTetrahedron()()
  61. glutWireIcosahedron()()
  62. glutSolidIcosahedron()()
  63. glutAssociateGL(mesamainBase,mesadriverBase)(a0/a1)
  64. ##end
  65.